import logging, socket
#SOCKET_SERVER_IMPL = "thread" # epoll | thread
ALIAS_MAPPING = "_mapping"#indicte what function wil be executed

LOG_LEVEL = logging.DEBUG
logging.basicConfig(level=LOG_LEVEL)

logger = logging.getLogger("root")
core_logger = logging.getLogger("root.core")

CUSTOM_OBJ_SESSION_ID_NAME = "_sid"

HOST = 'localhost'
#HOST = "10.0.1.3"
#HOST = socket.gethostbyname(socket.gethostname())
logger.debug("listening on %s" % HOST)
address = HOST
port = 2222
max_connections = 1000
